The following documentation contains test scripts
and expected results for validating the CDISC Builder
tool. Do the following to verify proper
installation:
- Start CDISC Builder application by double
clicking on the desktop icon.
-
Perform each test by performing the steps specified
by the instructions.
- Evaluate the results of each step by comparing
them with results described in the Documentation
column.
| Script
|
Description
|
Documentation
|
| Source Data |
Type invalid path
Navigate to location with no SAS
datasets
Path name that is longer than 200
characters
Use [...] path navigation
|
Instructions
1
|
| Data Sets |
List of datasets match what is in
the selected path
Verify preview button with a separate
PROC PRINT
Verify select all button toggles.
Verify CDISC button selection of
all CDISC type datasets.
|
Instructions
2
|
|
Report Title
|
Title with special characters such
as quotes and comma.
Long title longer than 200 characters
|
Instructions
3
|
| OK/Cancel |
OK button applies all selected parameters.
Verify title and footnote.
Memory of all fields are retained.
Cancel does not apply logic.
|
Instructions 4
|
| Save Code |
Program is saved with proper comments
Generated program is submitted and
results verified
|
Instructions 5
|
Instructions
1
Start the CDISC Builder application from the icon in
desktop.
-
Create the following path if
it does not already exist.
c:\temp\cdiscbld\input
c:\temp\cdiscbld\output
-
Submit the following program:
libname testlib 'c:\temp\cdiscbld\input';
libname outtest 'c:\temp\cdiscbld\output';
data testlib.shoes;
set sashelp.ae;
run;
data testlib.company;
set sashelp.co;
run;
data testlib.manage;
set sashelp.dm;
run;
data testlib.shoes;
set sashelp.shoes;
run;
data testlib.company;
set sashelp.company;
run;
data testlib.manage;
set sashelp.manage;
run;
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Clear all text in Source Data
and click on 'OK' button.
-
Verify that there is a warning
message:
The field (Source Data Path) contains a missing
value.
-
Type 'C:\invalidfolder' in Source
Data and click on 'OK' button.
-
Verify that there is a warning
message:
The Source Data does not exist.
-
Click on [...] button next to
Source Data text input.
-
Navigate to the folder that
does not contain any dataset, such as output
folder.
-
Click on 'OK' button.
-
Verify that there is a warning
message:
Select at least one dataset to be compared.
-
Create a folder with the name
is longer than 200 characters, such as:
-
Click on [...] button next to
Source Data text input.
-
Navigate to that folder and
click 'OK' button.
-
Verify that there is a warning
message:
You cannot select a path longer than 200 characters
using Select dialog. Please enter the path directly
to the Source Data field.
-
Click on [...] button next to
Source Data text input.
-
Navigate to folder that contains
some datasets, such as: input folder.
-
Verify that these datasets will
be displayed in Data Sets list box.
Instructions
2
Start the CDISC Builder application from the icon in
desktop.
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Click on [...] button next to
Source Data text input.
-
Navigate to 'C:\temp\cdiscbld\input'
folder.
-
Verify that DM, AE, CO... will
be displayed in Data Sets list box.
-
Choose AE in Data Sets list
and click on 'Preview' button.
-
Verify that there is a report
shows all values in AE dataset.
-
Submit the following program:
libname testlib 'c:\temp\cdiscbld\input';
proc print data=testlib.shoes;
run;
-
Verify that the result of clicking
on Preview button is similar with the result
of proc print command.
-
Click on 'Select All' button
and verify that all datasets are selected.
-
Click on 'Select All' button
again and verify that all datasets are deselected.
-
Click on 'Select All' button
again and then click on 'Preview' button.
-
Verify that there is a report
that shows content of all datasets.
-
Click on 'CDISC' button and
verify that CO, AE and DM datasets are selected.
Instructions
3
Start the CDISC Builder application from the icon
in desktop.
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Click on [...] next to Source
Data text input.
-
Navigate to 'C:\temp\cdiscbld\input'
folder.
-
Verify that DM, AE, CO... will
be displayed in Data Sets list box.
-
Choose AE in Data Sets list.
-
Type some text contains the special
characters like comma and quotes in Report Title,
such as: "this' is test, this is' test".
-
Click on 'OK' button.
-
Verify that there is no error
and the report is displayed.
-
Type a long title with more
than 200 character in Report Title, such as:
-
Click on 'OK' button.
-
Verify that the report title
is truncated and there is a warning message
will be displayed.
The title too long. It can be truncated.
Instructions
4
Start the CDISC Builder application from the icon
in desktop.
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Click on [...] next to Source
Data text input.
-
Navigate to 'C:\temp\cdiscbld\input'
folder.
-
Choose 'Company' in Data Sets
list.
-
Type 'This is report title'
in Report Title.
-
Click on 'OK' button.
-
Verify that there is a report
will be displayed with title is 'This is report
title' and footnote contains date and username
created.
-
Close report and type 'This
is Second Report Title' in Report Title.
-
Click on 'Cancel' button.
-
Verify that the Difftest screen
will be closed and will not create report.
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Verify that the value of Report
Title is 'This is Second Report Title'.
Instructions
5
Start the CDISC Builder application from the icon
in desktop.
-
Click on the 'DIFFTEST' icon
to open the Difftest screen.
-
Click on [...] next to Source
Data text input.
-
Navigate to 'C:\temp\cdiscbld\input'
folder.
-
Choose 'Company' in Data Sets
list.
-
Type 'This is report title'
in Report Title.
-
Click on 'Save Code' button.
-
Type 'C:\temp\cdiscbld\output'
in Path text field.
-
Verify that the file name is
'difftest'.
-
Click on 'OK' button.
-
Verify that the View Code screen
will be displayed.
-
Verify that all information
in view code is correct.
-
Verify that the difftest.sas
will be created in 'C:\temp\cdiscbld\output'.
-
Navigate to 'C:\temp\cdiscbld\output'.
-
Right click on 'difftest.sas'
and select 'Batch Submit'.
-
Verify that there is a 'difftest.html'
will be created in 'C:\temp\cdiscbld\output'.
For more information, please contact MXI
.
|